package com.zhongke.DKYCboot.mapper;

import com.zhongke.DKYCboot.po.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BusinessMapper {

    /**
     *
     * @param orderTypeId
     * @return
     */
    @Select("SELECT * from business where orderTypeId=#{orderTypeId}")
    List<Business> getOrderTypeByID(Integer orderTypeId);

    /**
     *
     * @param businessId
     * @return
     */
    @Select("SELECT * from business where businessId=#{businessId}")
    Business getBusinessId(Integer businessId);

}
